package com.granada.behaviour.interfaces;

import com.granada.common.CurdWithUserRoleAddBatch;

import java.util.List;

public interface UserRoleBehavior extends CurdWithUserRoleAddBatch {
    void removeByRoleId(Long roleId) throws Exception;

    List<Long> getRoleIdsByUserId(Long userId) throws Exception;

    void removeByUserId(Long userId) throws Exception;

    List<Long> getUserIdsByRoleIds(List<Long> roleIds) throws Exception;

}
